
@charset "utf-8";
@import "variable";/*引入配置*/
@mixin font_size($size){/*通过该函数设置字体大小，后期方便统一管理；*/
  @include font-dpr($size);
}
@mixin font_color($color){/*通过该函数设置字体颜色，后期方便统一管理；*/
  color:$color;
  [data-theme="theme1"] & {
    color:$font-color-theme1;
  }
  [data-lightTheme="theme1"] & {
    color:$background-button-primary1;
  }
  [data-theme="theme2"] & {
    color:$font-color-theme2;
  }

}
@mixin bg_color($color) { /*通过该函数设置主题颜色，后期方便统一管理；*/
  background-color: $color;
  [data-theme="theme1"] & {
    background-color: $background-color-theme1;
  }
  [data-lightTheme="theme1"] & {
    background-color:$background-color-theme-light1;
  }
  [data-theme="theme2"] & {
    background-color: $background-color-theme2;
  }
  [data-lightTheme="theme2"] & {
    background-color:$background-color-theme-light2;
  }
}

@mixin bg_button($color) { /*通过该函数设置主题颜色，后期方便统一管理；*/
  background-color: $color;
  [data-theme="theme1"] & {
    background-color: $background-button-primary1;
  }
  [data-theme="theme2"] & {
    background-color: $background-button-primary2;
  }
  //[data-theme="theme3"] & {
  //  background-color: $background-button-primary3;
  //}
}


